package com.service.gmall.Item;

import com.service.gmall.common.annotition.EnableThreadPool;
import com.service.gmall.common.config.RedissonAutoConfiguration;
import com.service.gmall.common.config.threadpool.AppThreadPoolAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

/**
 * @author alpha
 * @className: ItemMainApplication
 * @date 2022/8/26 14:09
 * @Description
 */
//@Import(AppThreadPoolAutoConfiguration.class)
//@EnableAspectJAutoProxy //开启切面代理对象
//@Import(RedissonAutoConfiguration.class)
@EnableThreadPool
@EnableFeignClients(basePackages = "com.service.gmall.feign.product")
@SpringCloudApplication
public class ItemMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(ItemMainApplication.class, args);
    }
}
